package com.etooling.framework.repository;


import com.etooling.framework.entity.Company;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface CompanyRepository extends BaseRepository<Company> {
    @Query(nativeQuery = true,value = "select count(1) from framework.t_company ")
    Integer getByRootCnt();
}
